package com.hongfeng.support.item;

import com.hongfeng.support.item.tag.OrderOperator;

/**
 * 排序bean
 * 
 * @author asus
 * 
 */
public class OrderItem {

	private String fieldName;// 属性名
	private OrderOperator orderOperator;// 属性排序类型

	public OrderItem(String fieldName) {
		this(fieldName, OrderOperator.ASC);
	}

	public OrderItem(String fieldName, OrderOperator orderOperator) {
		super();
		this.fieldName = fieldName;
		this.orderOperator = orderOperator;
	}

	public String getFieldName() {
		return fieldName;
	}

	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}

	public OrderOperator getOrderOperator() {
		return orderOperator;
	}

	public void setOrderOperator(OrderOperator orderOperator) {
		this.orderOperator = orderOperator;
	}

}
